<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>客户管理</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" href="../../css/public-heder-Reset.css">
<style type="text/css">
/*customer*/
.customer{width:100%;}
.customer .number{padding:10px 19px;border-bottom:1px solid #ececec;}
.customer .number p{font-size:14px;color:#000;height:28px;line-height:28px;display:inherit;}
.customer .number i{color:#f1622a;display:inline-block;}
.customer .number button{display:block;width:100px;height:28px;background:#6eba6f;border:none;outline:none;border-radius:5px;color:#fff;float:left;margin-left:20px}
.customer .customeList{width:100%;background:#fff;padding:0 12px;}
.customer .customeList .user_detail{display:block;width:100%;box-sizing:border-box;border-bottom:1px solid #ececec;padding:7px 5px;}
.customer .customeList .user_detail:last-child{border:none;}
.customer .customeList .user_detail .icon{display:block;width:18px;height:18px;background:url(../../img/back-r.png)no-repeat 0 -62px/48px 77px;float:right;margin-top:9px;}
.name{font-size:13px;color:#2d2d2d;float:left;line-height:18px;}
</style>	
</head>
<body>
	<!-- page_box -->
	<div class="page-box">
		<!-- header -->
		<header class="page-header">
			<a href="javascript:history.go(-1)" class="back"></a>
			<p class="pege-name">客户管理</p>
		</header>
		<div class="liubai"></div>
		<!-- header /-->
		<!-- login-detailed -->
		<div class="customer">
			<!-- ajax 获取数据-->
		</div>
		<!-- login-detailed / -->
	</div>
<script type="text/javascript" src="../../js/jquery.min.js"></script>
<script type="text/javascript" src="../../js/http-url.js"></script>
<script type="text/javascript" src="../../js/dropload.js"></script>
<script type="text/javascript">
	function user_detail(even){
	    var data_user_id=$(even).attr('data-user-id');
	    window.localStorage.setItem("data_user_id",data_user_id);
	    window.location.href="customer-pipei.html"
	}
	$(function(){
		var projectsNuber=0;
		$('.page-box').dropload({
	        scrollArea : window,
	        loadDownFn : function(me){
	        	load_me=me;
	          ajaxRequest('/api/menu/agent/user/list/'+projectsNuber+'',null,function(data){
	          	projectsNuber++;
	            // 判断是否加载完毕
	            if(!data.data.content){
	               // 锁定
	                me.lock();
	              // 无数据
	              me.noData();
	            }
           	 	$(data.data.content).appendTo('.customer');
           	    me.resetload();
	          },false);  
	        },
	        threshold :50
	    });	
	})
</script>	
</body>
</html>